XQuery: An XML query language

نویسنده

  • Donald D. Chamberlin
چکیده

The World Wide Web Consortium has convened a working group to design a query language for Extensible Markup Language (XML) data sources. This new query language, called XQuery, is still evolving and has been described in a series of drafts published by the working group. XQuery is a functional language comprised of several kinds of expressions that can be nested and composed with full generality. It is based on the type system of XML Schema and is designed to be compatible with other XML-related standards. This paper explains the need for an XML query language, provides a tutorial overview of XQuery, and includes several examples of its use. 1 is considered the format of choice for the exchange of information among various applications on the Internet. The popularity of XML is due in large part to its flexibility for representing many kinds of information. The use of tags makes XML data self-describing , and the extensible nature of XML makes it possible to define new kinds of documents for specialized purposes. As the importance of XML has increased , a series of standards has grown up around it, many of which were defined by the World Wide Web Consortium (W3C). 2 For example, XML Sche-ma 3 provides a notation for defining new types of elements and documents; XML Path Language (XPath) 4 provides a notation for selecting elements within an XML document; and Extensible Stylesheet Language Transformations (XSLT) 5 provides a notation for transforming XML documents from one representation to another. XML makes it possible for applications to exchange data in a standard format that is independent of storage. For example, one application may use a native XML storage format, whereas another may store data in a relational database. Since XML is emerging as a standard for data exchange, it is natural that queries among applications should be expressed as queries against data in XML format. This use gives rise to a requirement for a query language designed expressly for XML data sources. In October 1999, W3C convened the XML Query Working Group 6 for the purpose of designing such a query language, to be called XQuery. XML data are different from relational data in several important respects that influence the design of a query language. Relational data tend to have a regular structure, which allows the descriptive meta-data for these data to be stored in a separate catalog. XML …

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

An Approach to Translate XSLT into XQuery

XML (eXtensible Markup Language) transformations and queries are crucial operations for interpreting XML databases. XSLT (eXtensible Stylesheet Language Transformations) is a prominent XML technology for these operations, but XQuery (XML Query Language) can query a broad spectrum of XML information sources, including both databases and documents. In this paper, we present our approach to transl...

متن کامل

XQuery as a Spatial Query Language

In this paper, we investigate the use of XQuery to retrieve geographic data represented in GML. The proposed approach is aimed at overcoming the limitations of the earlier proposed GML query languages, and is able to handle any GML data. We start with an analysis to show why among various kinds of XML and non-XML query languages we choose XQuery as a fundamental query language for querying GML ...

متن کامل

Translating XSLT into XQuery

XML (eXtensible Markup Language) transformations and queries are crucial operations for interpreting XML databases. XSLT (eXtensible Stylesheet Language Transformations) is a prominent XML technology for these operations, but XQuery (XML Query Language) can query a broad spectrum of XML information sources, including both databases and documents. In this paper, we present our approach to transl...

متن کامل

XQuery in Relational Database Systems

Relational database systems (and the related standards body ANSI/INCITS H2) are busy adding XML support. One of the main components of such XML extensions will be support for the upcoming XML query language XQuery. The presentation will outline how XQuery and XML conceptually fit into a relational database environment. It will cover the organization of the XML in the database, how to type it us...

متن کامل

An Accurate Identification of Extended XML Tree Pattern for XQuery Language

In order to utilize high-performance XML tree pattern query (TPQ) for implementing of XQuery language effectively, it is necessary to analysis the query plan and identify tree pattern from it. In this paper, we extend the functional intermediate language FXQL, which is used to implement XQuery language, with an extended XML generalized tree pattern representation (GTP++). Then, we propose an XM...

متن کامل

Introduction to Xquery *

XQuery is a query language for data stored in xml form. It can be used to search such documents and arrange the result, as an xml structure or a simple text (possibly suitable for a TEX engine). Like xslt 2.0, it is based on XPath 2.0. We propose an introduction to XQuery, and some comparisons with xslt allow readers to discern the applications XQuery is suitable for.

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:
  • IBM Systems Journal

دوره 41  شماره 

صفحات  -

تاریخ انتشار 2002